package fun.sweeper.unity.dto;

import fun.sweeper.unity.entity.HhOrderDetail;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * @author chenjc
 * @since 2020/11/19 11:15
 */
public class HhOrderDetailDto extends HhOrderDetail {

    private static final long serialVersionUID = 1L;

    /**
     * 商品名
     */
    private String productName;
    /**
     * 商品简称
     */
    private String productShortName;
    /**
     * 用户id
     */
    private String consumerId;
    /**
     * 商品规格
     */
    private String productSize;
    /**
     * 商品品牌
     */
    private String productBrand;
    /**
     * 单价
     */
    private String productPrice;
    /**
     * 商品data
     */
    private String productData;

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getProductSize() {
        return productSize;
    }

    public void setProductSize(String productSize) {
        this.productSize = productSize;
    }

    public String getProductBrand() {
        return productBrand;
    }

    public void setProductBrand(String productBrand) {
        this.productBrand = productBrand;
    }

    public String getProductPrice() {
        return productPrice;
    }

    public void setProductPrice(String productPrice) {
        this.productPrice = productPrice;
    }

    public String getConsumerId() {
        return consumerId;
    }

    public void setConsumerId(String consumerId) {
        this.consumerId = consumerId;
    }

    public String getProductShortName() {
        return productShortName;
    }

    public void setProductShortName(String productShortName) {
        this.productShortName = productShortName;
    }

    public String getProductData() {
        return productData;
    }

    public void setProductData(String productData) {
        this.productData = productData;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("odId", getOdId())
                .append("orderId", getOrderId())
                .append("productId", getProductId())
                .append("productNum", getProductNum())
                .append("productUnit", getProductUnit())
                .append("remark", getRemark())
                .append("isDel", getIsDel())
                .append("detailAmount", getDetailAmount())
                .toString();
    }

}
